package com.project.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project.entity.Asset;
import com.project.service.AssetService;
import com.project.mapper.AssetMapper;
import com.project.util.CustomBean;
import com.project.util.EchartsBeans;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author lenovo
 * @description 针对表【t_zcxx】的数据库操作Service实现
 * @createDate 2023-01-17 02:32:15
 */
@Service
public class AssetServiceImpl extends ServiceImpl<AssetMapper, Asset> implements AssetService {
    @Autowired
    private AssetMapper assetMapper;

    @Override
    public List<Asset> list(Map<String, Object> map) {
        return assetMapper.list(map);
    }

    @Override
    public long getTotal(Map<String, Object> map) {
        return assetMapper.getTotal(map);
    }

    @Override
    public List<Asset> listAll() {
        return assetMapper.listAll();
    }

    @Override
    public List<Asset> typeCount() {
        return assetMapper.typeCount();
    }

    @Override
    public List<Asset> stsCount() {
        return assetMapper.stsCount();
    }

    @Override
    public Asset findByName(String zcmc) {
        return assetMapper.findByName(zcmc);
    }

    @Override
    public List<EchartsBeans> findDate() {
        return assetMapper.findDate();
    }

    @Override
    public List<CustomBean> selectComplex(String data) {
        return assetMapper.selectComplex(data);
    }
}




